<include file="public/layout" />
<style>
.ncm-goods-gift {
	text-align: left;
}
.ncm-goods-gift ul {
    display: inline-block;
    font-size: 0;
    vertical-align: middle;
}
.ncm-goods-gift li {
    display: inline-block;
    letter-spacing: normal;
    margin-right: 4px;
    vertical-align: top;
    word-spacing: normal;
}
.ncm-goods-gift li a {
    background-color: #fff;
    display: table-cell;
    height: 30px;
    line-height: 0;
    overflow: hidden;
    text-align: center;
    vertical-align: middle;
    width: 30px;
}
.ncm-goods-gift li a img {
    max-height: 30px;
    max-width: 30px;
}

a.green{
	
	background: #fff none repeat scroll 0 0;
    border: 1px solid #f5f5f5;
    border-radius: 4px;
    color: #999;
    cursor: pointer !important;
    display: inline-block;
    font-size: 12px;
    font-weight: normal;
    height: 20px;
    letter-spacing: normal;
    line-height: 20px;
    margin: 0 5px 0 0;
    padding: 1px 6px;
    vertical-align: top;
}

a.green:hover { color: #FFF; background-color: #1BBC9D; border-color: #16A086; }

.ncap-order-style .ncap-order-details{
	margin:20px auto;
}
.contact-info h3,.contact-info .form_class{
  display: inline-block;
  vertical-align: middle;
}
.form_class i.fa{
  vertical-align: text-bottom;
}
</style>
<div class="page">
  <div class="fixed-bar">
    <div class="item-title"><a class="back" href="javascript:history.go(-1)" title="返回列表"><i class="fa fa-arrow-circle-o-left"></i></a>
      <div class="subject">
        <h3>赠酒详情</h3>
        <h5>赠酒详情预览</h5>
      </div>
    </div>
      
  </div>
  <div class="ncap-order-style">
    <div class="titile">
      <h3></h3>
    </div>
 <form id="delivery-form" action="{:U('Admin/Cellar/delivery_info')}" method="post">
    <div class="ncap-order-details">
      <div class="tabs-panels">
        <div class="misc-info">
           <h3>赠送人</h3>
           		<dl>
		            <dt>昵称：</dt>
		            <dd>{$giveInfos.from_user.nickname}</dd>
		        </dl>
		        <dl>
		           	<dt>电话：</dt>
		            <dd>{$giveInfos.from_user.mobile}</dd>
		        </dl>
		        <dl>
		           	<dt>赠送时间：</dt>
		            <dd>{$giveInfos.addtime|date="Y-m-d H:i:s",###}</dd>
		        </dl>
		        <dl>
		           	<dt>赠言：</dt>
		            <dd>{$giveInfos.order_info}</dd>
		        </dl>
        	</div>
        
        <div class="addr-note">
          <h4>被赠人</h4>
          <dl>
            <dt>昵称：</dt>
            <dd>{$giveInfos.to_user.nickname}</dd>
          </dl>
          <dl>
            <dt>电话：</dt>
            <dd>{$giveInfos.to_user.mobile}</dd>
          </dl>
        </div>
  
         
        <div class="goods-info">
          <h4>商品信息</h4>
          <table>
            <thead>
              <tr>
                <th colspan="2">商品名称</th>
                <th>规格属性</th>
                <th>赠送数量</th>
                <th>商品单价</th>
              </tr>
            </thead>
            <tbody>
            <volist name="orderGoods" id="good">
           	<tr>
                <td class="w30"><div class="goods-thumb"><a href="{:U('/Mobile/Cellar/goodsInfo/',array('id'=>$good[goods_id]))}" target="_blank"><img alt="" src="{$good['goods_id']|goods_thum_images=200,200}" /> </a></div></td>
                <td style="text-align: left;"><a href="{:U('/Mobile/Cellar/goodsInfo/',array('id'=>$good[goods_id]))}" target="_blank">{$good.goods_name}</a><br/></td>
                <td class="w80">{$good.spec_key_name}</td>
                <td class="w60">{$good.goods_num}</td>
                <td class="w100">{$good.goods_price}</td>
              </tr>
              </volist>
          </table>
        </div>
      </div>
  	</div>
  	</form>
  </div>
  
</div>
<script type="text/javascript">
function dosubmit(){
	if($('#invoice_no').val() ==''){
		 layer.alert('请输入配送单号', {icon: 2});  // alert('请输入配送单号');
		return;
	}
	
	$('#delivery-form').submit();
}
</script>
</body>
</html>